﻿using WarehouseSystem.Domain.IRepositories.Interfaces;

namespace WarehouseSystem.Domain.Mediators
{
    /// <summary>
    /// 仓储中介者
    /// </summary>
    public sealed class RepositoryMediator
    {
        ///// <summary>
        ///// 依赖注入构造器
        ///// </summary>
        ///// <param name="checkStockRep">盘点仓储接口</param>
        ///// <param name="distributionInformationRep">配送信息仓储接口</param>
        ///// <param name="iCStockBillDetailRep">出入库详细仓储接口</param>
        ///// <param name="iCStockBillRep">出入库单据仓储接口</param>
        ///// <param name="productRep">商品仓储接口</param>
        ///// <param name="repertoryRep">仓库仓储接口</param>
        ///// <param name="stockRep">库存仓储接口</param>
        ///// <param name="stockDetailRep">库存详细仓储接口</param>
        ///// <param name="storageAreaRep">存储区域仓储接口</param>
        //public RepositoryMediator(ICheckStockRepository checkStockRep, IDistributionInformationRepository distributionInformationRep, IICStockBillDetailRepository iCStockBillDetailRep, IICStockBillRepository iCStockBillRep, IProductRepository productRep, IRepertoryRepository repertoryRep, IStockRepository stockRep, IStockDetailRepository stockDetailRep, IStorageAreaRepository storageAreaRep)
        //{
        //    this.StockRep = stockRep;
        //    this.CheckStockRep = checkStockRep;
        //    this.DistributionInformationRep = distributionInformationRep;
        //    this.ICStockBillRep = iCStockBillRep;
        //    this.ICStockBillDetailRep = iCStockBillDetailRep;
        //    this.ProductRep = productRep;
        //    this.StockDetailRep = stockDetailRep;
        //    this.StorageAreaRep = storageAreaRep;
        //    this.RepertoryRep = repertoryRep;
        //}

        public RepositoryMediator(ICheckStockRepository checkStockRep)
        {
            this.CheckStockRep = checkStockRep;
        }
        /// <summary>
        /// 盘点仓储接口
        /// </summary>
        public ICheckStockRepository CheckStockRep { get; private set; }

        ///// <summary>
        ///// 配送信息仓储接口
        ///// </summary>
        //public IDistributionInformationRepository DistributionInformationRep { get; private set; }

        ///// <summary>
        ///// 出入库详细仓储接口
        ///// </summary>
        //public IICStockBillDetailRepository ICStockBillDetailRep { get; private set; }

        ///// <summary>
        ///// 出入库单据仓储接口
        ///// </summary>
        //public IICStockBillRepository ICStockBillRep { get; private set; }

        ///// <summary>
        ///// 商品仓储接口
        ///// </summary>
        //public IProductRepository ProductRep { get; private set; }

        ///// <summary>
        ///// 仓库仓储接口
        ///// </summary>
        //public IRepertoryRepository RepertoryRep { get; private set; }

        ///// <summary>
        ///// 库存详细仓储接口
        ///// </summary>
        //public IStockDetailRepository StockDetailRep { get; private set; }

        ///// <summary>
        ///// 库存仓储接口
        ///// </summary>
        //public IStockRepository StockRep { get; private set; }

        ///// <summary>
        ///// 存储区域仓储接口
        ///// </summary>
        //public IStorageAreaRepository StorageAreaRep { get; private set; }
    }
}
